package com.amsp.oa.oademo.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.amsp.oa.oademo.entity.SpecialRewardApply;
import com.amsp.oa.oademo.mapper.SpecialRewardApplyMapper;
import com.amsp.oa.oademo.service.SpecialRewardApplyService;
import org.springframework.stereotype.Service;

@Service
public class SpecialRewardApplyServiceImpl extends ServiceImpl<SpecialRewardApplyMapper, SpecialRewardApply>
        implements SpecialRewardApplyService {
    @Override
    public IPage<SpecialRewardApply> getPage(Integer current, Integer size) {
        Page<SpecialRewardApply> page = new Page<>(current, size);
        return this.page(page);
    }
}